<?php
// +----------------------------------------------------------------------
// | 文章模型
// +----------------------------------------------------------------------
// | Author| 李乾坤 <261001642@qq.com>
// +----------------------------------------------------------------------

namespace app\common\validate;
use think\Validate;

class Loan extends validate {

    protected $rule = [
        'date|录入时间'      =>'require|date',
        'step|进度'      =>'require',
        'money|申请金额'     =>'require|float',
        'final_money|放款金额'     =>'require|float',
        'peroid|贷款期限'     =>'require|number',
        'realname|申请人姓名'  =>'require|chs',
    ];
    protected $message  =   [
        /*'content.require'		=> '内容不能为空',
        'content.min'			=> '内容最少20个字符',
        'title.require'		    => '标题必须填写',
        'title.min'				=> '标题最最少2个字符',
        'title.max'				=> '标题最多不能超过25个字符',
        'title'					=> '标题已经存在',*/    
    ];

}
?>